[INFO] fetching crate libp2p-metrics 0.6.1...
[INFO] checking libp2p-metrics-0.6.1 against try#5c7108a2805ef56743d713d2789c5e802631c9e8 for pr-97739
[INFO] extracting crate libp2p-metrics 0.6.1 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate libp2p-metrics 0.6.1 on toolchain 5c7108a2805ef56743d713d2789c5e802631c9e8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate libp2p-metrics 0.6.1
[INFO] finished tweaking crates.io crate libp2p-metrics 0.6.1
[INFO] tweaked toml for crates.io crate libp2p-metrics 0.6.1 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate crates.io crate libp2p-metrics 0.6.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2970620884f30a2494d0bb45d70c08144e29d210c418d775eb03bfc5d6bb307c
[INFO] running `Command { std: "docker" "start" "-a" "2970620884f30a2494d0bb45d70c08144e29d210c418d775eb03bfc5d6bb307c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2970620884f30a2494d0bb45d70c08144e29d210c418d775eb03bfc5d6bb307c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2970620884f30a2494d0bb45d70c08144e29d210c418d775eb03bfc5d6bb307c", kill_on_drop: false }`
[INFO] [stdout] 2970620884f30a2494d0bb45d70c08144e29d210c418d775eb03bfc5d6bb307c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 899d5104c3e788bd61fc16a927d353260088e62d1394c860f347024ba674415a
[INFO] running `Command { std: "docker" "start" "-a" "899d5104c3e788bd61fc16a927d353260088e62d1394c860f347024ba674415a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling either v1.6.1
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling anyhow v1.0.58
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling unicode-xid v0.2.3
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]     Checking futures-sink v0.3.21
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling hashbrown v0.12.1
[INFO] [stderr]     Checking cpufeatures v0.2.2
[INFO] [stderr]    Compiling fixedbitset v0.4.1
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling regex-syntax v0.6.26
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]     Checking byteorder v1.4.3
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking unsigned-varint v0.7.1
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling multimap v0.8.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking signature v1.4.0
[INFO] [stderr]     Checking opaque-debug v0.3.0
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]     Checking untrusted v0.7.1
[INFO] [stderr]     Checking bs58 v0.4.0
[INFO] [stderr]     Checking once_cell v1.12.0
[INFO] [stderr]     Checking spin v0.5.2
[INFO] [stderr]     Checking data-encoding v2.3.2
[INFO] [stderr]     Checking arrayref v0.3.6
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]     Checking asn1_der v0.7.5
[INFO] [stderr]     Checking futures-timer v3.0.2
[INFO] [stderr]     Checking dtoa v1.0.2
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking tower-service v0.3.2
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking instant v0.1.12
[INFO] [stderr]    Compiling itertools v0.10.3
[INFO] [stderr]    Compiling cmake v0.1.48
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling indexmap v1.9.0
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking ed25519 v1.5.2
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]     Checking owning_ref v0.4.1
[INFO] [stderr]     Checking tracing-core v0.1.27
[INFO] [stderr]     Checking tracing v0.1.35
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking core2 v0.4.0
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]    Compiling regex v1.5.6
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]    Compiling which v4.2.5
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling prost-build v0.10.4
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling petgraph v0.6.2
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking tokio v1.19.2
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking crypto-common v0.1.3
[INFO] [stderr]     Checking block-buffer v0.10.2
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking block-buffer v0.9.0
[INFO] [stderr]     Checking env_logger v0.8.4
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]     Checking sha2 v0.9.9
[INFO] [stderr]     Checking sha2 v0.10.2
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]    Compiling prost-derive v0.10.1
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling zeroize_derive v1.3.2
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling prometheus-client-derive-text-encode v0.2.0
[INFO] [stderr]     Checking prometheus-client v0.16.0
[INFO] [stderr]     Checking zeroize v1.3.0
[INFO] [stderr]     Checking pin-project v1.0.10
[INFO] [stderr]     Checking curve25519-dalek v3.2.1
[INFO] [stderr]    Compiling prost v0.10.4
[INFO] [stderr]    Compiling thiserror v1.0.31
[INFO] [stderr]    Compiling proc-macro-crate v1.1.3
[INFO] [stderr]     Checking ed25519-dalek v1.0.1
[INFO] [stderr]    Compiling prost-types v0.10.1
[INFO] [stderr]    Compiling multihash-derive v0.8.0
[INFO] [stderr]     Checking futures-executor v0.3.21
[INFO] [stderr]     Checking hyper v0.14.19
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stderr]     Checking rw-stream-sink v0.3.0
[INFO] [stderr]     Checking multistream-select v0.11.0
[INFO] [stderr]    Compiling libp2p-core v0.33.0
[INFO] [stderr]     Checking multihash v0.16.2
[INFO] [stderr]     Checking multiaddr v0.14.0
[INFO] [stderr]     Checking libp2p-swarm v0.36.1
[INFO] [stderr]     Checking libp2p-metrics v0.6.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/metrics/main.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | use libp2p::core::Multiaddr;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/metrics/main.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 54 | use libp2p::metrics::{Metrics, Recorder};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/metrics/main.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 55 | use libp2p::ping::{Ping, PingConfig};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/metrics/main.rs:56:5
[INFO] [stdout]    |
[INFO] [stdout] 56 | use libp2p::swarm::SwarmEvent;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libp2p`
[INFO] [stdout]   --> examples/metrics/main.rs:57:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | use libp2p::{identity, PeerId, Swarm};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `libp2p`
[INFO] [stdout]   --> examples/metrics/main.rs:74:18
[INFO] [stdout]    |
[INFO] [stdout] 74 |         block_on(libp2p::development_transport(local_key))?,
[INFO] [stdout]    |                  ^^^^^^ use of undeclared crate or module `libp2p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures::stream::StreamExt`
[INFO] [stdout]   --> examples/metrics/main.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | use futures::stream::StreamExt;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `libp2p-metrics` due to 7 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "899d5104c3e788bd61fc16a927d353260088e62d1394c860f347024ba674415a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "899d5104c3e788bd61fc16a927d353260088e62d1394c860f347024ba674415a", kill_on_drop: false }`
[INFO] [stdout] 899d5104c3e788bd61fc16a927d353260088e62d1394c860f347024ba674415a
